﻿package frEngine.postProcess
{
    import baseEngine.basic.*;
    import baseEngine.core.*;
    import flash.display3D.textures.*;
    import flash.geom.*;

    public class PostTextureBuffer extends Object
    {
        private var _texture3d:Texture3D;
        private var _texWidth:Number;
        private var _texHeight:Number;

        public function PostTextureBuffer(param1:int, param2:int)
        {
            this._texWidth = param1;
            this._texHeight = param2;
            this._texture3d = new Texture3D(new Point(this._texWidth, this._texHeight), 0, 0);
            return;
        }// end function

        public function get texWidth() : int
        {
            return this._texWidth;
        }// end function

        public function get texHeight() : int
        {
            return this._texHeight;
        }// end function

        public function get texture3d() : Texture3D
        {
            return this._texture3d;
        }// end function

        public function immediatelyUploadTexture(param1:Scene3D) : void
        {
            return;
        }// end function

        public function reUpload(param1:Scene3D) : void
        {
            return;
        }// end function

        public function get buffer() : TextureBase
        {
            return this._texture3d.texture;
        }// end function

    }
}
